{% extends "photologue/root.html" %}
{% load i18n %}

{% block title %}
	{% blocktrans with day|date as day_date %}
		Photos for {{ day_date }}
	{% endblocktrans %}
{% endblock %}

{% block content %}

<h1>
	{% blocktrans with day|date as day_date %}
	Photos for {{  day_date  }}
	{% endblocktrans %}		
</h1>

{% if object_list %}
    {% for photo in object_list %}
    <div class="gallery-photo">
        <a href="{{ photo.get_absolute_url }}"><img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.title }}"/></a>
    </div>
    {% endfor %}
{% else %}
	<p>{% trans "No photos were found." %}</p>
{% endif %}

<p>
	<a href="{% url pl-photo-list 1 %}">
		{% trans "View all photographs" %}
	</a>
</p>

{% endblock %}
